<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>货品管理</title>
    <script type="text/javascript" src="http://localhost/jumei/Static/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="http://localhost/jumei/Static/hdjs/hdjs.min.js"></script>
    <link rel="stylesheet" href="http://localhost/jumei/Static/bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" href="http://localhost/jumei/Static/hdjs/hdjs.css" />
</head>
<body>
<div class="wrap">
    <form onsubmit="return hd_submit(this,'<?php echo U('GoodsList/edit');?>','<?php echo U('GoodsList/index',array('gid'=>$data['f_goods_gid']));?>')" action="javascript:;" method="post" class="form-inline hd-form">
        <table class="hd-table hd-table-list" style="text-align:center">
            <thead>
            <tr>
                <td width="70">货品id</td>
                <td width="200"><?php echo $data['glid'];?></td>
                <td></td>
            </tr>
            </thead>
            
            <tr>
                <td>颜色</td>
                <td><?php echo $data['color']['gavalue'];?></td>
                <td></td>
            </tr>
            <tr>
                <td>尺码</td>
                <td><?php echo $data['size']['gavalue'];?></td>
                <td></td>
            </tr>
            <tr>
                <td>货号</td>
                <td>
                    <?php echo $data['num'];?>
                </td>
                <td></td>
            </tr>
            <tr>
                <td>库存</td>
                <td>
                    <input type="text" name="many" id="" value="<?php echo $data['many'];?>" style="width:100px;text-align:center" />
                </td>
                <td></td>
            </tr>
        </table>
        <input type="hidden" name="glid" value="<?php echo $data['glid'];?>" />
        <input type="submit" value="修改" class="btn btn-primary" style="margin:20px" />
    </form>
</div>

</body>
</html>


